﻿@using TuanAnhPersonalWeb.HtmlHelpers
@model TuanAnhPersonalWeb.Models.ProjectListViewModel

            @foreach (var m in @Model.Projects)
            {
                <div class="item_project">
                    <a href="@Url.Action("DetailProject", "Project", new {projectId = @m.PROJECT_ID})"><img style="cursor: pointer" src="@m.IMAGE_DIR" alt="" title="@m.PROJECT_NAME"/></a>
                    <table width="100%" style="padding: 5px;">
                        <tr>
                            <td style="width: 30%">Name: </td>
                            <td style="color: darkorange; text-align: left">@m.PROJECT_NAME</td>
                        </tr>
                        <tr>
                            <td style="width: 30%">Location: </td>
                            <td style="color: darkorange; text-align: left">@m.LOCATION</td>
                        </tr>
                        <tr>
                            <td style="width: 30%">Invester: </td>
                            <td style="color: darkorange; text-align: left">@m.INVERSTER</td>
                        </tr>
                    </table>
                </div>
            }
            <div id="pager">
                @Html.PageLinks(Model.PagingInfo, x=> Url.Action("Index", new {Page = x }))
            </div>
